:: 生成基于facebook/swift的client端接口实现代码
@ECHO OFF
SETLOCAL
SET sh_folder="%~dp0"
IF EXIST "%sh_folder%..\myrpc-client" (
    PUSHD %sh_folder%..\myrpc-client
    SET OUT_FOLDER=src\codegen\java
    IF EXIST "%OUT_FOLDER%" RMDIR  %OUT_FOLDER% /s/q
    CALL mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate
    POPD
)
ENDLOCAL